﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CMS.Domain.Entities
{
    public class EArticle
    {
        public Guid Id { get; set; }
        public int Number { get; set; }
        public string Title { get; set; }
        public string Content { get; set; }
        public DateTime CreatedTime { get; set; }

        public DateTime ModifiedTime { get; set; }

        public string Creator { get; set; }
        public string CreatorText { get; set; }

        public Guid CategoryId { get; set; }
        public string CategoryText { get; set; }

        public string Tags { get; set; }
        public bool IsDeleted { get; set; }
        public bool IsEnabled { get; set; }
        public string PublishedUrl { get; set; }

        public string PublishedFile { get; set; }

        public DateTime? PublishedTime { get; set; }

        /// <summary>
        /// 用于显示用的发布时间，并不是实际的发布时间
        /// </summary>
        public DateTime? DisplayPublishedTime { get; set; }
    }
}
